﻿With the gcd(x^2-4, x+2) command, two expressions are entered, obtaining the greatest common divisor between them, in this case x+2